package com.example.peanutsubway.dao;

import com.example.peanutsubway.entity.RoleInfo;
import com.example.peanutsubway.util.PageInfo;

import java.util.List;

/**
 * @Author：zzt
 * @Version：1.0
 * @Date：2021/10/17-14:12
 * @Since:jdk1.8
 * @Description:
 */
public interface RoleInfoDao {
    Boolean addRoleInfo(RoleInfo roleInfo);
    List<RoleInfo> findAllRoleInfo(PageInfo pageInfo);
    Integer count();
    Boolean deleteRole(Integer id);
    Boolean updateRole(RoleInfo roleInfo);
}
